/****************************************
 * Copyright (c) 2015 NiuWa.
 * All rights reserved.
 * Created on 2015年4月22日
 * 
 * Contributors:
 * 	   Percy.Lo - initial implementation
 ****************************************/
package com.niuwa.quartz.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

//import com.niuwa.p2p.service.exchange.IMatchService;


/**
 * @title 资金定时匹配job
 *
 * @author Percy.Lo
 * @version 1.0
 * @created 2015年4月22日
 */
@Component("fundMatchJob")
public class FundMatchJob {
	
	final Logger logger = LoggerFactory.getLogger(this.getClass());
	
//	@Autowired
//	private IMatchService matchService;
	
	public void run() {
		logger.info("fundMatchJob starting……");
		try {
//			matchService.allQueueMatch(null);
		} catch (Exception e) {
			logger.error("fundMatchJob调用出现异常：",e);
		}
		logger.info("fundMatchJob complete.");
	}
}
